package schedule

import (
	"github.com/stretchr/testify/assert"
	"migration-tool/common"
	"testing"
)

func TestMakeCoordinator(t *testing.T) {
	configPath := common.GlobalDefaultConfigPath
	args := CoordinatorArgs{
		ConfigPath:  configPath,
		Export:      true,
		UseProgress: true,
	}
	_, err := MakeCoordinator(args)
	assert.Equal(t, err, nil)
}
